class News < ActiveRecord::Base
#validation for the news title has to exist
validates_presence_of :title

#find and show current events
def self.new_news
	find(:all, 
		   :order      => "title")
end






#format date to look like a name
def name
 title
end



end
